package model

type MiaoClientLog struct {
	ID       int64  `json:"id,string" gorm:"primaryKey;comment:'日志ID'"`
	DeviceID int64  `json:"device_id,string" gorm:"comment:'设备ID'"`
	Details  string `json:"details,string" gorm:"comment:'日志详情'"`
	LogTime  int64  `json:"log_time,string" gorm:"comment:'服务器收到数据的时间'"`
	LogType  int    `json:"log_type" gorm:"comment:'日志类型'"`
}

func (r *MiaoClientLog) TableName() string {
	return "miao_client_log"
}
